package com.miracle.java2110.service;

import com.miracle.java2110.common.PageVo;
import com.miracle.java2110.common.R;
import com.miracle.java2110.pojo.Guest;

import java.util.List;
import java.util.Map;

public interface GuestService {

    /**
     *
     * @return
     */
    List<Guest> findGuests();

    PageVo<Guest> getPageData(Map<String, Object> params);

    R updateById(Guest guest);

    R deleteById(Integer gid);

    R insertGuest(Guest guest);

    R deleteList(Integer[] gids);
}
